﻿@model BB.Apostas.Models.LoginModel

<hgroup class="title">
    <h2>Log In</h2>
</hgroup>
<section id="loginForm">
    @using (Html.BeginForm(new { ReturnUrl = ViewBag.ReturnUrl }))
    {
        @Html.AntiForgeryToken()
        @Html.ValidationSummary(true)

        <div class="form_settings">
            <p>
                @Html.LabelFor(m => m.UserName)
                @Html.TextBoxFor(m => m.UserName)
                @Html.ValidationMessageFor(m => m.UserName)
            </p>
            <p>
                @Html.LabelFor(m => m.Password)
                @Html.PasswordFor(m => m.Password)
                @Html.ValidationMessageFor(m => m.Password)
            </p>
            <p>
                @Html.LabelFor(m => m.RememberMe)
                @Html.CheckBoxFor(m => m.RememberMe, new { @class = "checkbox" })
            </p>
            <p style="padding-top: 15px">
                <label>
                    &nbsp;</label>
                <input type="submit" class="submit" value="Log in" />
            </p>
        </div>
@* <p>
            @Html.ActionLink("Regista-te", "Register") se ainda nao tens uma conta!
        </p>*@
    }
</section>
@*<section class="social" id="socialLoginForm">
    <h2>
        Use another service to log in.</h2>
    @Html.Action("ExternalLoginsList", new { ReturnUrl = ViewBag.ReturnUrl })
</section>*@
